//
//  button_set_color.h
//  COSTPortal_iPhone
//
//  Created by mac on 15/3/23.
//  Copyright (c) 2015年 Elvis. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef void(^UIImageSaveImageBlock)(void);


@interface UIImage(UIImage_Exit)
//虚线
+ (UIImage *)lineImageWithImageView:(UIImageView *)imageView;
//模糊效果
- (UIImage *)blurryImageWithBlurLevel:(CGFloat)blur;


+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;

- (UIImage *)cutImageInRect:(CGRect )rect;

- (void)saveImageToPhotos:(UIImage*)savedImage complete:(UIImageSaveImageBlock)saveBlock;

@end
